home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48hor2
/
pointers.doc
< prev
next >
Wrap
Text File
|
1995-03-31
|
635b
|
22 lines
POINTERS.DOC: The list of Saturn register use in RPL.
úÄÄÄÄ¿
3 D0 3 contains a pointer to the next RPL instruction in the current
àÄÄÄÄù program (like a hardware level program counter, but at an RPL
level).
úÄÄÄÄ¿
3 D1 3 points to the "top" of the stack (level 1).
àÄÄÄÄù
(Note: The stack only contains pointers to objects, not the objects
themselves. Thus D1+5 points to level 2; D1+10 to level 3, etc.)
úÄÄÄ¿
3 D 3 is the amount of free space between stack and heap. If you push
àÄÄÄù or pop the stack be sure to update the value in D.
úÄÄÄ¿
3 B 3 points to top of heap.
àÄÄÄù